package com.wzbc.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class Chapter {
    @TableId(value = "chapter_id",type = IdType.AUTO)
    private Long chapterId;

    private Long lessonId;

    private String chapterName;

    private Integer chapterLevel;//max 3

    private Long chapterAfterId;

    private String introduction;
}
